﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Abp.Domain.Entities.Auditing;

namespace FwProject.ShoppingMall.EventAdvertising
{
    /// <summary>
    /// 公告表
    /// </summary>
    [Table("Notice")]
    public class Notice: FullAuditedEntity<Guid>
    {
        public const int StringLength = 200;
        /// <summary>
        /// 公告标题
        /// </summary>
        [Required]
        [StringLength(StringLength)]

        public string NoticeName { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsActive { get; set; } = true;
    }
}
